﻿using System;
namespace Xroad.Eu.Xsd.Identifiers {
    
    
    [System.SerializableAttribute()]
    public partial class XRoadLocalGroupIdentifierType {
        
        private global::Xroad.Eu.Xsd.Identifiers.XRoadObjectType @__objectType = new global::Xroad.Eu.Xsd.Identifiers.XRoadObjectType("LOCALGROUP");
        
        private string @__groupCode;
        
        public XRoadLocalGroupIdentifierType() {
        }
        
        /// <summary>
        /// All parameters
        /// </summary>
        public XRoadLocalGroupIdentifierType(global::Xroad.Eu.Xsd.Identifiers.XRoadObjectType @objectType, string @groupCode) {
            this.@__objectType = @objectType;
            this.@__groupCode = @groupCode;
        }
        
        /// <summary>
        /// Copy Constructor
        /// </summary>
        protected XRoadLocalGroupIdentifierType(XRoadLocalGroupIdentifierType @xRoadLocalGroupIdentifierType) {
            this.@__objectType = @xRoadLocalGroupIdentifierType.ObjectType;
            this.@__groupCode = @xRoadLocalGroupIdentifierType.GroupCode;
        }
        
        public virtual global::Xroad.Eu.Xsd.Identifiers.XRoadObjectType ObjectType {
            get {
                return this.@__objectType;
            }
            set {
                this.@__objectType = value;
            }
        }
        
        public virtual string GroupCode {
            get {
                return this.@__groupCode;
            }
            set {
                this.@__groupCode = value;
            }
        }
    }
}
